package com.dotflat.survey.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.domain.AreableObjectBase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyAnswerPO extends AreableObjectBasePO {

    @ApiModelProperty("问卷id")
    private String sheetId;

    @ApiModelProperty(value = "家长id", hidden = true)
    @JsonIgnore
    private String parentId;

    @ApiModelProperty(value = "宝宝id", hidden = true)
    @JsonIgnore
    private String childId;

    List<SurveyAnswerItemPO> answers;

}
